NXP Semiconductors /MIMXRT1021 /DCP /PACKET1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as PACKET1

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (INTERRUPT)INTERRUPT 0 (DECR_SEMAPHORE)DECR_SEMAPHORE 0 (CHAIN)CHAIN 0 (CHAIN_CONTIGUOUS)CHAIN_CONTIGUOUS 0 (ENABLE_MEMCOPY)ENABLE_MEMCOPY 0 (ENABLE_CIPHER)ENABLE_CIPHER 0 (ENABLE_HASH)ENABLE_HASH 0 (ENABLE_BLIT)ENABLE_BLIT 0 (DECRYPT)CIPHER_ENCRYPT 0 (CIPHER_INIT)CIPHER_INIT 0 (OTP_KEY)OTP_KEY 0 (PAYLOAD_KEY)PAYLOAD_KEY 0 (HASH_INIT)HASH_INIT 0 (HASH_TERM)HASH_TERM 0 (CHECK_HASH)CHECK_HASH 0 (INPUT)HASH_OUTPUT 0 (CONSTANT_FILL)CONSTANT_FILL 0 (TEST_SEMA_IRQ)TEST_SEMA_IRQ 0 (KEY_BYTESWAP)KEY_BYTESWAP 0 (KEY_WORDSWAP)KEY_WORDSWAP 0 (INPUT_BYTESWAP)INPUT_BYTESWAP 0 (INPUT_WORDSWAP)INPUT_WORDSWAP 0 (OUTPUT_BYTESWAP)OUTPUT_BYTESWAP 0 (OUTPUT_WORDSWAP)OUTPUT_WORDSWAP 0TAG

CIPHER_ENCRYPT=DECRYPT, HASH_OUTPUT=INPUT

Description

DCP work packet 1 status register

Fields

INTERRUPT

Reflects whether the channel must issue an interrupt upon the completion of the packet.

DECR_SEMAPHORE

Reflects whether the channel’s semaphore must be decremented at the end of the current operation

CHAIN

Reflects whether the next command pointer register must be loaded into the channel’s current descriptor pointer

CHAIN_CONTIGUOUS

Reflects whether the next packet’s address is located following this packet’s payload.

ENABLE_MEMCOPY

Reflects whether the selected memory-copy (memcopy) function should be enabled for this operation.

ENABLE_CIPHER

Reflects whether the selected cipher function must be enabled for this operation.

ENABLE_HASH

Reflects whether the selected hashing function must be enabled for this operation.

ENABLE_BLIT

Reflects whether the DCP must perform a blit operation

CIPHER_ENCRYPT

When the cipher block is enabled, this bit indicates whether the operation is encryption or decryption

0 (DECRYPT): DECRYPT

1 (ENCRYPT): ENCRYPT

CIPHER_INIT

Reflects whether the cipher block must load the initialization vector from the payload for this operation

OTP_KEY

Reflects whether a hardware-based key must be used

PAYLOAD_KEY

When set, it indicates the payload contains the key

HASH_INIT

Reflects whether the current hashing block is the initial block in the hashing operation, so the hash registers must be initialized before the operation

HASH_TERM

Reflects whether the current hashing block is the final block in the hashing operation, so the hash padding must be applied by the hardware

CHECK_HASH

Reflects whether the calculated hash value must be compared to the hash provided in the payload.

HASH_OUTPUT

When the hashing is enabled, this bit controls whether the input or output data is hashed.

0 (INPUT): INPUT

1 (OUTPUT): OUTPUT

CONSTANT_FILL

When this bit is set (MEMCOPY and BLIT modes only), the DCP simply fills the destination buffer with the value found in the source address field

TEST_SEMA_IRQ

This bit is used to test the channel semaphore transition to 0. FOR TEST USE ONLY!

KEY_BYTESWAP

Reflects whether the DCP engine swaps the key bytes (big-endian key).

KEY_WORDSWAP

Reflects whether the DCP engine swaps the key words (big-endian key).

INPUT_BYTESWAP

Reflects whether the DCP engine byteswaps the input data (big-endian data).

INPUT_WORDSWAP

Reflects whether the DCP engine wordswaps the input data (big-endian data).

OUTPUT_BYTESWAP

Reflects whether the DCP engine byteswaps the output data (big-endian data).

OUTPUT_WORDSWAP

Reflects whether the DCP engine wordswaps the output data (big-endian data).

TAG

Packet Tag

Links

() ()